package nc.vo.arap.caltradisc;

import nc.vo.pubapp.pattern.model.entity.bill.AbstractBill;
import nc.vo.pubapp.pattern.model.meta.entity.bill.BillMetaFactory;
import nc.vo.pubapp.pattern.model.meta.entity.bill.IBillMeta;

@nc.vo.annotation.AggVoInfo(parentVO = "nc.vo.arap.caltradisc.CalDiscVO")
public class AggCalDiscVO extends AbstractBill {

  @Override
  public IBillMeta getMetaData() {
    IBillMeta billMeta =BillMetaFactory.getInstance().getBillMeta(AggCalDiscVOMeta.class);
    return billMeta;
  }

  @Override
  public CalDiscVO getParentVO() {
    return (CalDiscVO) this.getParent();
  }
  
  public CalDiscBVO[] getBodyVOs() {
    return (CalDiscBVO[]) this.getChildrenVO();
  }
}